package com.net.xpay.common.model.search;

import com.net.common.model.PagedModel;
import com.net.xpay.common.enums.partner.PartnerLevel;
import com.net.xpay.common.enums.partner.PartnerSettlePeriod;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 2019/4/1 14:48

 */
@Getter
@Setter
@NoArgsConstructor
public class PartnerSearchModel extends PagedModel {
    @ApiModelProperty(notes = "合伙人编号")
    private Long id;

    @ApiModelProperty(notes = "上级合伙人id")
    private Long fatherPartnerId;

    @ApiModelProperty(notes = "手机号")
    private String mobile;

    @ApiModelProperty(notes = "提现支付宝账号")
    private String alipayAccount;

    @ApiModelProperty(notes = "级别 1.一级 2.二级")
    private PartnerLevel level;

    @ApiModelProperty(notes = "结算周期")
    private PartnerSettlePeriod settlePeriod;

    @ApiModelProperty(notes = "注册时间上限")
    private LocalDateTime minRegisterTime;

    @ApiModelProperty(notes = "注册时间下限")
    private LocalDateTime maxRegisterTime;

    @ApiModelProperty(notes = "登录时间上限")
    private LocalDateTime minLoginTime;

    @ApiModelProperty(notes = "登录时间下限")
    private LocalDateTime maxLoginTime;
}
